home *** CD-ROM | disk | FTP | other *** search
Makefile | 1990-06-25 | 441 b | 22 lines |
- # Makefile for the TSYSTEM directory.
-
- TMACHINE=sun3
- OBJS =$(TMACHINE)_start_t.o $(TMACHINE)assist.o expand.o dynload.o float.o
-
- CFLAGS =-O
-
- all: localfs.t linkt $(OBJS)
-
- localfs.t:
- echo "(`hostname`)" > $@
-
- linkt.sh: Makefile
- echo $(OBJS) | \
- awk '{ print "#! /bin/sh"; \
- printf("cc -Bstatic -o \"$$@\""); \
- for (i=1; i<=NF; i++) printf(" $${TSYSTEM}/%s", $$i); \
- print " -lm" }' > $@
-
- clean:
- -rm localfs.t linkt.sh linkt $(OBJS)
-